package com.ruoyi.order.api;

import com.ruoyi.common.core.constant.SecurityConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;


@FeignClient(contextId = "remoteOrdService", value = "che-order")
public interface RemoteOrdService {
    @GetMapping(value = "/order/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id);

}
